<template>
  <div class='container'>
      <h1>{{ currentRow.title }}</h1>
      <span>{{ currentRow.createTime }}</span>  <span>{{currentRow.username }}</span>  <i class="el-icon-view">  {{ currentRow.visits}}</i>
      <br />
        <div v-html="currentRow.articleBody"></div>
  </div>
</template>

<script>

export default {
  props: {
    currentRow: { // 父组件传来的当前行的数据
      type: Object,
      required: true
    }
  },
  data () {
    return {

    }
  },
  created () {
  },
  methods: {

  }
}
</script>

<style scoped></style>
